﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Windows.Forms;
using CRMAdapter.PaymentHubServices;

namespace CRMWeb.Pages.AM
{
    public partial class GetPaymentResult : CRMWeb.Utilities.BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnResult_Click(object sender, EventArgs e)
        {
            CRMAdapter.PayByPaymentHub.GetPaymentResults(txtDigKeyRs.Text, "", "", txtPmtRfRs.Text);
        }

        //Method to clear all fields
        public void ClearAll()
        {
            txtDigKeyRs.Text = "";
            txtPmtRfRs.Text = "";

        }
    }
}